import * as actionTypes from '../actions/actionTypes'

export default function eduinfo(state={},action) {
    switch (action.type){
        case actionTypes.GET_JLULIBRARY_INFO:
            return {
                ...state,
                libraryInfo:action.payload.libraryInfo
            }
        default:
            return {
                ...state,
                libraryInfo:'请求失败'
            }
    }
}